//
//  WFNetworkAPI.h
//  imtMall
//
//  Created by Onliu on 15/6/14.
//  Copyright (c) 2015年 IMT. All rights reserved.
//

#import <Foundation/Foundation.h>

#ifndef imtMall_WFNetworkAPI_h
#define imtMall_WFNetworkAPI_h

static NSString *const k_HTTP_HEAD_APP_DEVICE  = @"X-App-Device";
static NSString *const k_HTTP_HEAD_APP_VERSION = @"X-App-Version";
static NSString *const k_HTTP_HEAD_UDID        = @"X-Did";
static NSString *const k_HTTP_HEAD_UTM         = @"X-Utm";
static NSString *const k_HTTP_HEAD_USER_AGENT  = @"User-Agent";
static NSString *const k_HTTP_HEAD_USER_ID     = @"X-Uid";
static NSString *const k_HTTP_HEAD_TOKEN       = @"X-Token";
static NSString *const k_HTTP_HEAD_API_VERSION = @"X-Api-Version";
static NSString *const k_HTTP_HEAD_API_HOST    = @"Host";
static NSString *const k_HTTP_HEAD_USER_TYPE   = @"X-User-Type";


//#define WF_SANDBOX

//请求结果基本Key
static NSString * const k_Resp_Body_Code    = @"code";
static NSString * const k_Resp_Body_Message = @"msg";
static NSString * const k_Resp_Body_Data    = @"data";

//各网络请求基本路径
#ifdef WF_SANDBOX
static NSString * const k_WF_Reachability_Host             = @"item.irulusales.top";/**< 网络状态监测域名 */

#else
static NSString * const k_WF_Reachability_Host             = @"api-item.irulu.com";/**< 网络状态监测域名 */

#endif



//API模块 请求子路径
static NSString * const k_WF_Request_Sub_URL_API_Feedback       = @"feedback";
static NSString * const k_WF_Request_Sub_URL_APP_Init_Config    = @"app/init";
static NSString * const k_WF_Request_Sub_URL_APP_Advert         = @"app/ad";
static NSString * const k_WF_Request_Sub_URL_API_Check_Update   = @"check/update";


#endif
